import java.util.Scanner;

public class Work81603 {
    public static void main(String[] args) {
        int cishu=0;
      int a[]=new int[]{1,2,3,4,5,5,4,1,2,3,1,8,9,7,6};
        Scanner in=new Scanner(System.in);
        System.out.println("输入数字");
        int num=in.nextInt();
        for (int i=0;i<a.length;i++){
            if (num==a[i]) {
                cishu++;
            }
        }
        System.out.println("次数为"+cishu);
    }
}
